package com.ruoyi.project.mahjong.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 积分兑换记录对象 t_integral_exchange
 *
 * @author ruoyi
 * @date 2023-09-28
 */
public class TIntegralExchange extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crateTime;

    /** $column.columnComment */
    @Excel(name = "创建时间")
    private String bak3;

    /** $column.columnComment */
    @Excel(name = "创建时间")
//    店铺id
    private String bak2;

    /** $column.columnComment */
    @Excel(name = "创建时间")
//    员工id
    private String bak1;

    /** 兑换时间 */
    @Excel(name = "兑换时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date exchangeTime;

    /** 消耗积分 */
    @Excel(name = "消耗积分")
    private String integral;

    /** 兑换数量 */
    @Excel(name = "兑换数量")
    private Long exchangeNumber;

    /** 兑换商品 */
    @Excel(name = "兑换商品")
    private String product;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String phone;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    private String nickName;

    private String staffName;

    private String shopName;

    /** $column.columnComment */
    private Long id;

    public void setCrateTime(Date crateTime)
    {
        this.crateTime = crateTime;
    }

    public Date getCrateTime()
    {
        return crateTime;
    }
    public void setBak3(String bak3)
    {
        this.bak3 = bak3;
    }

    public String getBak3()
    {
        return bak3;
    }
    public void setBak2(String bak2)
    {
        this.bak2 = bak2;
    }

    public String getBak2()
    {
        return bak2;
    }
    public void setBak1(String bak1)
    {
        this.bak1 = bak1;
    }

    public String getBak1()
    {
        return bak1;
    }
    public void setExchangeTime(Date exchangeTime)
    {
        this.exchangeTime = exchangeTime;
    }

    public Date getExchangeTime()
    {
        return exchangeTime;
    }
    public void setIntegral(String integral)
    {
        this.integral = integral;
    }

    public String getIntegral()
    {
        return integral;
    }
    public void setExchangeNumber(Long exchangeNumber)
    {
        this.exchangeNumber = exchangeNumber;
    }

    public Long getExchangeNumber()
    {
        return exchangeNumber;
    }
    public void setProduct(String product)
    {
        this.product = product;
    }

    public String getProduct()
    {
        return product;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("crateTime", getCrateTime())
            .append("bak3", getBak3())
            .append("bak2", getBak2())
            .append("bak1", getBak1())
            .append("remark", getRemark())
            .append("exchangeTime", getExchangeTime())
            .append("integral", getIntegral())
            .append("exchangeNumber", getExchangeNumber())
            .append("product", getProduct())
            .append("phone", getPhone())
            .append("userName", getUserName())
            .append("userId", getUserId())
            .append("id", getId())
            .toString();
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }
}
